<template>
  <div>
    <h2>--------------------------</h2>
    <h2>我是test组件</h2>
    <h2>当前点击时鼠标的坐标为：x：{{point.x}}，y：{{point.y}}</h2>
  </div>
</template>

<script>
import usePoint from '@/hooks/usePoint'
export default {
    name: 'Test',
    setup(){
        let point = usePoint()
        return {point}
    }
}
</script>

<style>

</style>